#!/bin/bash

set -o errexit
set -o pipefail
set -o nounset



python /app/manage.py collectstatic --noinput

# exec /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app
exec /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app --workers 1 --timeout 120 --log-level=debug